package com.liner.homework.first;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("大黄",3,"黄色");
        Dog dog2 = new Dog("旺财",4,"橘色");
        Dog dog3 = new Dog("柯基",1,"腊肠色");

        Fish fish1 = new Fish("金鱼", 3, "金色");
        Fish fish2 = new Fish("鲨鱼", 12, "蓝色");

        Chick chick1 = new Chick("小美", 4, "粉色");
        Chick chick2 = new Chick("小白", 6, "白色");
        Chick chick3 = new Chick("小绿", 5, "绿色");

        dog1.eat();
        dog2.lookHome();
        dog3.drink();
        dog1.swim();

        fish1.eat();
        fish2.drink();
        fish1.swim();

        chick1.layEggs();
        chick2.drink();
        chick3.eat();


    }
}
